<div class="inner">
    <div class="like-button">
        <?php
        require_once ('like-button.php');
        ?>
    </div><!-- .like-button -->
    <h2 title="ინფორმაცია">ინფორმაცია</h2>
    <div id="home-slider">
        <ul>
            <li>
                <div class="home-slider-description">
                    <h3>Product Title</h3>
                    <p>
                        Nulla arcu urna, euismod cursus mollis ut, pulvinar sed tortor. Maecenas placerat, est nec cursus aliquam, ipsum felis hendrerit quam, a vehicula mauris magna at metus. Integer blandit aliquet consequat. Pellentesque eu neque nulla, in consectetur eros. Quisque neque purus, tincidunt nec facilisis vel.
                    </p>
                </div><!-- .home-slider-description -->                
                <a href="?view=product&id=5"><img src="media/images/home-slider.png" alt="" /></a>
            </li>
            <li>
                <div class="home-slider-description">
                    <h3>Product Title</h3>
                    <p>
                        Nulla arcu urna, euismod cursus mollis ut, pulvinar sed tortor. Maecenas placerat, est nec cursus aliquam, ipsum felis hendrerit quam, a vehicula mauris magna at metus. Integer blandit aliquet consequat. Pellentesque eu neque nulla, in consectetur eros. Quisque neque purus, tincidunt nec facilisis vel.
                    </p>
                </div><!-- .home-slider-description -->                
                <a href="?view=product&id=5"><img src="media/images/home-slider.png" alt="" /></a>
            </li>
        </ul>
    </div><!-- #home-slider -->
</div><!-- .inner -->
<div class="line"></div><!-- .line -->
<div id="home-categories-container">
    <div class="inner clearfix">
        <h2 title="ჩვენი პროდუქტები">ჩვენი პროდუქტები</h2>
        <div id="home-categories" class="clearfix">
            <div id="home-categories-inner"  class="clearfix">
                <?php for( $i = 1; $i < 16; $i++ ) : ?>
                <div class="item-block<?php echo ( $i % 5 == 0) ? ' last-block' : ''; ?>">
                    <div class="item-preview">
                        <a href="?view=products&amp;cat_id=<?php echo $i; ?>" title="კატეგორია">კატეგორია</a>
                    </div><!-- .item-preview -->
                    <div class="item-thumb">
                        <img src="media/images/item-image.png" alt="" />
                    </div><!-- .item-thumb -->
                    <div class="item-category">
                        <a href="?view=products&amp;cat_id=<?php echo $i; ?>" title="კატეგორია">კატეგორია კატეგორია  კატეგორია <?php echo $i; ?></a>
                    </div><!-- .item-category -->
                </div><!-- .item-block -->
                <?php endfor; ?>
            </div><!-- #home-categories-inner -->
        </div><!-- #home-categories -->
        <?php if( $total_cats > 5 ) : ?>
        <div id="home-slider-arrows">
            <a href="#" id="prev-btn" title="წინა">წინა</a>
            <a href="#" id="next-btn" title="შემდეგი">შემდეგი</a>
        </div><!-- #home-slider-arrows -->
        <?php endif; ?>
    </div><!-- .inner -->
</div><!-- #home-categories-container -->